package org.dromara.ai.domain.vo;

import org.dromara.ai.domain.AiComment;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 评论视图对象 ai_comment
 *
 * @author Tang
 * @date 2024-12-08
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = AiComment.class)
public class AiCommentVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 评论ID
     */
    @ExcelProperty(value = "评论ID")
    private Long commentId;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private Long userId;

    /**
     * 作品ID
     */
    @ExcelProperty(value = "作品ID")
    private Long workId;

    /**
     * 父评论ID
     */
    @ExcelProperty(value = "父评论ID")
    private Long parentCommentId;

    /**
     * 评论内容
     */
    @ExcelProperty(value = "评论内容")
    private String content;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;


}
